<%-- 
    Document   : UsuarioModificar
    Created on : Dec 4, 2010, 11:53:20 AM
    Author     : isak
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>

        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript" src="js/validar.js"></script>

        <script src="js/jquery.validate.js" type="text/javascript"></script>

        <script src="js/jquery.js" type="text/javascript"></script>

        <script type="text/javascript" src="js/jquery.alerts.js"></script>

        <script type="text/javascript" src="js/jquery.ui.draggable.js"></script>

        <link href="<s:url value='/styles/jquery.alerts.css'/>" rel="stylesheet" type="text/css" media="all"/>

        <link href="<s:url value='css/calendar.css'/>" rel="stylesheet" type="text/css"/>

        <script language="JavaScript" type="text/javascript" src="<s:url value='js/calendar_us.js'/>"/>

        <title>Usuario - Modificar</title>
        
        <script type="text/javascript"  language="text/javascript"></script>

    </head>

    <body>
       
    <h2>MODIFICAR INFO DE USUARIO</h2>    
    <h2><s:property value="mensaje"/></h2>
    <!-- Muestra la informacion del usuario para ser modificada -->
    <s:form name="ModificarUsuario"  action="actualizarusuario" onsubmit="javascript:return validarUsuario(ModificarUsuario)">
        <s:textfield name="nombre" label="Nombre" />
        <s:textfield name="apellido" label="Apellido" />
        <s:textfield name="correo" label="Correo Electronico"/>
        <s:password name="clave" label="Clave"/>
        <s:textfield name="fechanac" label="Fecha de Nacimiento" />
        <script language="JavaScript" type="text/javascript">
            new tcal ({'formname': 'crearusuario', 'controlname': 'fechanac'});
	</script>
        <s:textfield name="genero" label="Genero"/>
        <s:submit value="Guardar Cambios" align="center" />
    </s:form>
    </body>
</html>
